*{
	margin: auto 0;
	padding: 0; }
  
body {
	font-family: 'Arial Narrow',Arial, Helvetica, sans-serif;
	text-align: left;
	background-image: URL(../img/36.png);
	background-repeat: no-repeat;}
  
html,body{
    height: 100%;
    margin: auto 0; }

/***********************************************下拉式選單*********************************************/

.wrap{
	max-width:100%;
	margin: 0 auto;
}
.clearfix:after{
	content: '';
	display: table;
	clear: both;
}
.header{
	border-bottom: 1px solid #ffffff;
	padding-bottom: 0em;
	position: relative;
}

.logo a{
	float:left;
	width: 250px;
	height: 50px;
	background:rgba(224, 222, 222, 0);
	display: block;
	text-decoration: none;	
	text-indent: 0;
	overflow: hidden;
	white-space: nowrap;
  	background-image: url("../img/34.png"); /* 设置背景图像 */
  	background-size: 100%; /* 設置背景圖像大小為原來的 50% */
  	background-repeat: no-repeat; /* 禁止图像重复 */
  	text-indent: -9999px; /* 让链接文字消失，但不影响屏幕阅读器 */
  	margin-left: 1%;
	}
.menu-list{
	float:right;
}
.menu-list li{
	float:left;
    display: block;
    padding: 0 1em;
    height: auto;
}
.menu-list a{
	display: block;
	text-decoration: none;
	font-weight: 700;
	color:#ffffff;
	padding:1em;
}
.menu-list a:hover{
	color: #013c3d;
    background-color: #c6c6c6;
}
.showmenu{
	display: none;
	float: right;
	text-decoration: none;
	color:#ffffff;
	font-weight: 600;
	padding:1em;
}
@media(max-width: 768px){
	.menu-list{		
		/*隱藏選單開始*/
		max-height: 0;
		overflow: hidden;
		/*隱藏選單end*/
		position: absolute;/*追隨.header*/
		/*讓選單從左到右延伸start*/
		right: 0;
		left: 0;
		/*讓選單從左到右延伸end*/
		top:67px;
		/*把menu-list位置移到.header下方。點擊menu滑出/因沒設header高度，所以用開發者工具看高多少*/
		z-index:100;
    transition: all 2.5s;
	}
	.menu-list li{
		float:none;
		border-bottom:  1px solid #ffffff ;
		background:rgb(3, 0, 0,0.8);
	}
	.showmenu{
		display: block;
	}
	/*jQ點擊後動態在 body 加上 class */ 
	.menu-show .menu-list{
		max-height: 336px; 
	}
}
.content{
	padding: 5% 6%;
}
.content p{
	line-height: 1.8;
	margin-bottom: 1.5em;
}

/*下拉式選單RWD*/
/***********************************************下拉式選單*********************************************/

#main {
	min-height: 100%;
    min-width: 100%;
	margin: 0% 0;
	padding: 0;
	display: flex;
	flex-flow: row;
	transform: translate(0%, 0%); }

#main > C {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   
    text-align: center;
    margin: 10px;
    text-align: center;
    padding: 0px;
    border-radius: 5pt;
    background: rgba(255, 255, 255,0.8);
    box-shadow: 1px 2px 5px #c6c6c6;
    flex: 2 1 70%;
    order: 1;
    border-radius: 5pt;
    width: 100%;
    max-width: 100vw;}


#main > B {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   
    text-align: center;
    margin: 10px;
    text-align: center;
    padding: 0px;
    border-radius: 5pt;
    background: rgba(255, 255, 255,0.2);
    box-shadow: 1px 2px 5px #c6c6c6;
    flex: 2 1 30%;
    order: 2;
    border-radius: 5pt;
    width: 100%;
    max-width: 100vw;}

#btnA, #btnB {
    position: absolute;
    z-index: 1;
    height: 50px;
    margin-top:2%;
    box-shadow: 1px 2px 5px #443737;}

#btnA {
    top: 0;
    left: 20%;}

#btnB {
    top: 0;
    left: 30%;    }

button {
  background-color: #000000; /* 設定按鈕的背景顏色 */
  border: none; /* 移除按鈕邊框 */
  color: white; /* 設定按鈕文字顏色 */
  padding: 10px 20px; /* 設定按鈕內容和邊框的間距 */
  text-align: center; /* 將按鈕內容置中 */
  text-decoration: none; /* 移除文字下劃線 */
  display: inline-block; /* 設定按鈕為行內元素，使得按鈕可以與其他元素並排顯示 */
  font-size: 16px; /* 設定按鈕文字大小 */
  margin: 4px 2px; /* 設定按鈕與其他元素之間的間距 */
  cursor: pointer; /* 設定滑鼠游標類型，當滑鼠移到按鈕上時會變成手形游標 */
  border-radius: 20px;
}

/* 設定按鈕的 hover 狀態 */
button:hover {
  background-color: #838383;
}

/* 設定按鈕的 active 狀態 */
button:active {
  background-color: #bbbbbb;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

#video1, #video2 {
    height: auto;
    max-width: 100%;
    min-width: 50%;
  }


#main > C > div > video{
    margin-top:-15%;
}

.hide {
    display: none;
}

.tab_P{
    font-size: 1.2rem;
    font-family: 'Arial Narrow',Arial, Helvetica, sans-serif;
    line-height:25px;
    width:100%;
    height:100%;
    top:0%;
    display: block;                                                                       
    text-align: Left;
    z-index: 1; 
    color:bisque; }

h1{
    font-size: 1.5rem;
    color:rgb(255, 255, 255); 
}

B img{
	position: relative;
	width:10%;
	left:80%;}




@media all and (max-width: 1440px) {
    #btnA, #btnB {
        flex-basis: 50%;
        position: static;
        margin-top: 0;
        width: 100%;}
    #video1, #video2 {
        margin-top: -15%;
          }

}

@media all and (max-width: 768px) {
  
    #main,
    #page {
        flex-direction: column;
    }
  
    #main {
        margin: 0% 0;
        transform: translate(0%, 5%); }

    #main > B,
    #main > C{
        /* Return them to document order */
        order: 0;
    }
      
      #video1, #video2 {
        margin-top: -50%;
      }
    

}